-
-
Notifications
You must be signed in to change notification settings - Fork 473
Allow Symfony 8 #2069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Symfony 8 #2069
Conversation
|
If we allow |
Yeah it fails due to and It might be ok to update those signatures to add the native |
|
@dmaicher The See: ajgarlag#2 |
Hm interesting. I tried it locally and I did not have any other error though 🤔 |
tests/DependencyInjection/AbstractDoctrineExtensionTestCase.php
Outdated
Show resolved
Hide resolved
@dmaicher I've been able to reproduce it locally in a debug session executing: vendor/bin/phpunit tests/RegistryTest.php --filter=testIdentityMapsStayConsistentAfterResetThe execution fails in |
|
PSA: I found yesterday that to get something more useful than Premature end of PHP Process, you need to set |
Let me try that on your branch, with the development ini file. |
|
And now you get the errors :) |
@dmaicher Sorry, you were right. Thanks to the changes introduced by @greg0ire, I have managed to resolve the errors related to the void return type. |
| * @return void | ||
| */ | ||
| public function load(array $configs, ContainerBuilder $container) | ||
| public function load(array $configs, ContainerBuilder $container): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why phpcs had nothing to say about this in 80bd103, but since the class is final and internal, it's not a breaking change to add it. 👍
|
Thanks @ajgarlag ! |
This will allow to run the test suite against Symfony 8. Once it's merged, I'll open a new PR to revert this one that should be merged before releasing a new minor version. See doctrine/orm#12110
Fix #1910